package com.relytosoft.mizar.media.analyze.services.mapper.behavior;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.relytosoft.mizar.media.analyze.api.entity.behavior.AyBehaviorTaskSon;
import com.relytosoft.mizar.media.analyze.api.pojo.query.AyBehaviorTaskSonQuery;
import com.relytosoft.mizar.media.analyze.api.pojo.vo.AyBehaviorTaskSonVo;
import org.apache.ibatis.annotations.Param;

/**
 * @author lj
 * @date 2022/6/7 10:12
 */
public interface AyBehaviorTaskSonMapper extends BaseMapper<AyBehaviorTaskSon> {

    /**
     * 分页条件查询行为分析子任务
     *
     * @param page                   分页对象
     * @param ayBehaviorTaskSonQuery 行为分析子任务查询条件
     * @return 分页结果
     */
    IPage<AyBehaviorTaskSonVo> selectPageSonList(@Param("page")
                                                         Page<AyBehaviorTaskSon> page,
                                                 @Param("ayBehaviorTaskSonQuery")
                                                         AyBehaviorTaskSonQuery ayBehaviorTaskSonQuery);

}
